package com.cyj.dream.event.queue;

import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description: 梦享云--事件队列中心
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.event.queue
 * @Author: ChenYongJia
 * @CreateTime: 2021-10-09 15:30
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication
public class DreamEventQueueApplication {

    /**
     * 项目启动方法
     *
     * @param args the input arguments
     * @date 2021-9-26
     * @author Sunny Chen
     */
    public static void main(String[] args) {
        log.info("梦享云--事件队列中心项目开始启动ing！======>{}", DateUtil.now());
        SpringApplication.run(DreamEventQueueApplication.class, args);
        log.info("梦享云--事件队列中心项目启动成功ing.......！======>{}", DateUtil.now());
    }

}
